from django.views.generic import DetailView, ListView
from bookmarks.models import Tag

class TagDetailView(DetailView):
    context_object_name = 'tag'
    model = Tag
    template_name = "bookmarks/TagDetailView.html"

class TagListView(ListView):
    context_object_name = 'tags'
    model = Tag
    template_name = "bookmarks/TagListView.html"
